package it.patterns.creational.factorymethod;

public class ConcreteProductB implements Product {
	private String name;
	private int type = 1;

	@Override
	public String getType() {
		return name + " of type " + type;
	}

	@Override
	public void setName(String name) {
		this.name = name;
	}

	public void setType(int type) {
		this.type = type;
	}

}
